package Pm.Work;

public class Test {

    public static void main(String[] args) {
        Employee emp = new Employee("smith", 2000);
        System.out.println(emp.calculateSalary());
        Employee emp1 = new Manager("万叶", 3000, 2000);
        System.out.println(emp1.calculateSalary());
        Employee emp2 = new Developer("QQ人", 2000, 1.5);
        System.out.println(emp2.calculateSalary());
    }
}